<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>定位</title>
    <link rel="stylesheet" href="position.css" />
  </head>
  <body>
    <!-- #region relative -->
    <div class="box relative"></div>
    <div class="box"></div>
    <!-- #endregion relative -->

    <!-- #region absolute -->
    <div class="parent">
      <div class="child"></div>
    </div>
    <!-- #endregion absolute -->
  </body>
</html>
